import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.util.Date;


public class RoomTest
{
   public static void main(String[] args) throws FileNotFoundException
   {
      Room r1 = new Room(20);
      Request re1 = new Request("aa","MW",new Time(2,3,false),new Time(5,30,false),20);
      Request re2 = new Request("bb","MW",new Time(5,30,true),new Time(2,2,false),20);

      //2:03pm-5:30pm:aa
      //3:03pm-6:30pm:bb
      
      r1.add(re1);
      r1.add(re2);
      
      //r1.cancel(re2);
      
      System.out.println(r1);
      
      PrintWriter outfile = null;
      Date today = new Date();
      r1.fileOutput(outfile, today);
   }
}
